<% component = metadata.sinks.splunk_hec %>

<%= component_header(component) %>

## Config File

<%= component_config_example(component) %>

## Options

<%= options_table(component.options.to_h.values.sort) %>

## How It Works [[sort]]

<%= component_sections(component) %>

## Troubleshooting

<%= component_troubleshooting(component) %>

### Setup

In order to supply values for both the `host` and `token` options you must first
setup a Splunk HTTP Event Collector. Please refer to the [Splunk setup
docs][url.splunk_hec_setup] for a guide on how to do this. Once you've setup
your Spunk HTTP Collectory you'll be provided a `host` and `token` that you
should supply to the `host` and `token` options.

## Resources

<%= component_resources(component) %>